package lines.gameengine.stub;

import lines.gameengine.context.FieldParameters;
import lines.gameengine.context.FieldState;
import lines.gameengine.context.IFieldContext;
import lines.gameengine.tracer.IFieldTracer;
import lines.gameengine.util.IBallGenerator;
import lines.gameengine.util.ICellsChooser;
import lines.gameengine.util.IScoreHolder;

/**
 * @author vpotapenko
 */
public class StubFieldContext implements IFieldContext{

    public final FieldParameters parameters = new FieldParameters();

    public FieldState state;

    @Override
    public void setFieldState(FieldState state) {
        this.state = state;
    }

    @Override
    public FieldState getFieldState() {
        return state;
    }

    @Override
    public FieldParameters getParameters() {
        return parameters;
    }

    @Override
    public IBallGenerator getBallGenerator() {
        return null;
    }

    @Override
    public ICellsChooser getCellsChooser() {
        return null;
    }

    @Override
    public IScoreHolder getScoreHolder() {
        return null;
    }

    @Override
    public IFieldTracer getTracer() {
        return null;
    }
}
